<?php
$lang->gitfox->common            = 'GitFox';
$lang->gitfox->browse            = '瀏覽GitFox';
$lang->gitfox->search            = '搜索';
$lang->gitfox->create            = '添加GitFox';
$lang->gitfox->edit              = '編輯GitFox';
$lang->gitfox->view              = '查看GitFox';
$lang->gitfox->bindUser          = '綁定用戶';
$lang->gitfox->webhook           = 'Webhook';
$lang->gitfox->bindProduct       = '關聯產品';
$lang->gitfox->importIssue       = '關聯issue';
$lang->gitfox->delete            = '刪除GitFox';
$lang->gitfox->confirmDelete     = '確認刪除該GitFox嗎？';
$lang->gitfox->gitfoxAccount     = 'GitFox用戶';
$lang->gitfox->zentaoAccount     = '禪道用戶';
$lang->gitfox->accountDesc       = '(系統會將相同郵箱地址的用戶自動匹配)';
$lang->gitfox->bindingStatus     = '綁定狀態';
$lang->gitfox->all               = '全部';
$lang->gitfox->binded            = '已綁定';
$lang->gitfox->bindedError       = '綁定的用戶已刪除或者已修改，請重新綁定';
$lang->gitfox->serverFail        = '連接GitFox伺服器異常，請檢查GitFox伺服器。';
$lang->gitfox->lastUpdate        = '最後更新';
$lang->gitfox->confirmAddWebhook = '您確定創建Webhook嗎？';
$lang->gitfox->addWebhookSuccess = 'Webhook創建成功';
$lang->gitfox->failCreateWebhook = 'Webhook創建失敗，請查看日誌';
$lang->gitfox->placeholderSearch = '請輸入項目名稱';

$lang->gitfox->browseAction         = 'GitFox列表';
$lang->gitfox->deleteAction         = '刪除GitFox';
$lang->gitfox->gitfoxProject        = "{$lang->gitfox->common}項目";
$lang->gitfox->browseProject        = "{$lang->gitfox->common}項目列表";
$lang->gitfox->browseUser           = "用戶列表";
$lang->gitfox->browseGroup          = "群組列表";
$lang->gitfox->browseBranch         = "GitFox分支列表";
$lang->gitfox->browseTag            = "GitFox標籤列表";
$lang->gitfox->gitfoxIssue          = "{$lang->gitfox->common} issue";
$lang->gitfox->zentaoProduct        = '禪道產品';
$lang->gitfox->objectType           = '類型'; // task, bug, story
$lang->gitfox->manageProjectMembers = '項目成員管理';
$lang->gitfox->createProject        = '添加GitFox項目';
$lang->gitfox->editProject          = '編輯GitFox項目';
$lang->gitfox->deleteProject        = '刪除GitFox項目';
$lang->gitfox->createGroup          = '添加群組';
$lang->gitfox->editGroup            = '編輯群組';
$lang->gitfox->deleteGroup          = '刪除群組';
$lang->gitfox->createUser           = '添加用戶';
$lang->gitfox->editUser             = '編輯用戶';
$lang->gitfox->deleteUser           = '刪除用戶';
$lang->gitfox->createBranch         = '添加分支';
$lang->gitfox->manageGroupMembers   = '群組成員管理';
$lang->gitfox->createWebhook        = '創建Webhook';
$lang->gitfox->browseBranchPriv     = '分支保護管理';
$lang->gitfox->createBranchPriv     = '創建分支保護';
$lang->gitfox->editBranchPriv       = '編輯分支保護';
$lang->gitfox->deleteBranchPriv     = '刪除分支保護';
$lang->gitfox->createTag            = '創建標籤';
$lang->gitfox->deleteTag            = '刪除標籤';
$lang->gitfox->createTagPriv        = '創建標簽保護';
$lang->gitfox->editTagPriv          = '編輯標簽保護';

$lang->gitfox->id             = 'ID';
$lang->gitfox->name           = "{$lang->gitfox->common}名稱";
$lang->gitfox->url            = '服務地址';
$lang->gitfox->token          = 'Token';
$lang->gitfox->defaultProject = '預設項目';
$lang->gitfox->private        = 'MD5驗證';

$lang->gitfox->lblCreate     = '添加GitFox伺服器';
$lang->gitfox->desc          = '描述';
$lang->gitfox->tokenFirst    = 'Token不為空時，優先使用Token。';
$lang->gitfox->tips          = '使用密碼時，請在GitFox全局安全設置中禁用"防止跨站點請求偽造"選項。';
$lang->gitfox->emptyError    = "不能為空";
$lang->gitfox->createSuccess = "創建成功";

$lang->gitfox->placeholder = new stdclass;
$lang->gitfox->placeholder->name        = '';
$lang->gitfox->placeholder->url         = "請填寫GitFox Server首頁的訪問地址，如：https://gitfox.zentao.net。";
$lang->gitfox->placeholder->token       = "請填寫具有admin權限賬戶的access token";
$lang->gitfox->placeholder->projectPath = "項目標識串只能包含字母、數字、“_”、“-”和“.”。不能以“-”開頭，以.git或者.atom結尾";

$lang->gitfox->noImportableIssues = "目前沒有可供導入的issue。";
$lang->gitfox->tokenError         = "當前token非管理員權限。";
$lang->gitfox->tokenLimit         = "GitFox Token權限不足。請更換為有管理員權限的GitFox Token。";
$lang->gitfox->hostError          = "無效的GitFox服務地址。";
$lang->gitfox->bindUserError      = "不能重複綁定用戶 %s";
$lang->gitfox->importIssueError   = "未選擇該issue所屬的執行。";
$lang->gitfox->importIssueWarn    = "存在導入失敗的issue，可再次嘗試導入。";

$lang->gitfox->accessLevels[10] = 'Guest';
$lang->gitfox->accessLevels[20] = 'Reporter';
$lang->gitfox->accessLevels[30] = 'Developer';
$lang->gitfox->accessLevels[40] = 'Maintainer';
$lang->gitfox->accessLevels[50] = 'Owner';

$lang->gitfox->apiError[0] = 'internal is not allowed in a private group.';
$lang->gitfox->apiError[1] = 'public is not allowed in a private group.';
$lang->gitfox->apiError[2] = 'is too short (minimum is 8 characters)';
$lang->gitfox->apiError[3] = "can contain only letters, digits, '_', '-' and '.'. Cannot start with '-', end in '.git' or end in '.atom'";
$lang->gitfox->apiError[4] = 'Branch already exists';
$lang->gitfox->apiError[5] = 'Failed to save group {:path=>["has already been taken"]}';
$lang->gitfox->apiError[6] = 'Failed to save group {:path=>["已经被使用"]}';
$lang->gitfox->apiError[7] = '403 Forbidden';
$lang->gitfox->apiError[8] = 'is invalid';
$lang->gitfox->apiError[9] = 'admin is a reserved name';

$lang->gitfox->errorLang[0] = '私有分組的項目，可見性級別不能設為內部。';
$lang->gitfox->errorLang[1] = '私有分組的項目，可見性級別不能設為公開。';
$lang->gitfox->errorLang[2] = '密碼太短（最少8個字元）';
$lang->gitfox->errorLang[3] = "只能包含字母、數字、'.'-'和'.'。不能以'-'開頭、以'.git'結尾或以'.atom'結尾。";
$lang->gitfox->errorLang[4] = '分支名已存在。';
$lang->gitfox->errorLang[5] = '保存失敗，群組URL路徑已經被使用。';
$lang->gitfox->errorLang[6] = '保存失敗，群組URL路徑已經被使用。';
$lang->gitfox->errorLang[7] = $lang->gitfox->noAccess;
$lang->gitfox->errorLang[8] = '格式错误';
$lang->gitfox->errorLang[9] = 'admin是保留名';

$lang->gitfox->errorResonse['Email has already been taken']    = '邮箱已存在';
$lang->gitfox->errorResonse['Username has already been taken'] = '用户名已存在';

$lang->gitfox->project = new stdclass;
$lang->gitfox->project->id                         = "項目ID";
$lang->gitfox->project->name                       = "項目名稱";
$lang->gitfox->project->create                     = "添加GitFox項目";
$lang->gitfox->project->edit                       = "編輯GitFox項目";
$lang->gitfox->project->url                        = "項目 URL";
$lang->gitfox->project->path                       = "項目標識串";
$lang->gitfox->project->description                = "項目描述";
$lang->gitfox->project->visibility                 = "可見性級別";
$lang->gitfox->project->visibilityList['private']  = "私有(項目訪問必須明確授予每個用戶。 如果此項目是在一個群組中，群組成員將會獲得訪問權限)";
$lang->gitfox->project->visibilityList['internal'] = "內部(除外部用戶外，任何登錄用戶均可訪問該項目)";
$lang->gitfox->project->visibilityList['public']   = "公開(該項目允許任何人訪問)";
$lang->gitfox->project->star                       = "星標";
$lang->gitfox->project->fork                       = "派生";
$lang->gitfox->project->mergeRequests              = "合併請求";
$lang->gitfox->project->issues                     = "議題";
$lang->gitfox->project->tagList                    = "主題";
$lang->gitfox->project->tagListTips                = "用逗號分隔主題。";
$lang->gitfox->project->emptyNameError             = "項目名稱不能為空";
$lang->gitfox->project->emptyPathError             = "項目標識串不能為空";
$lang->gitfox->project->confirmDelete              = '確認刪除該GitFox項目嗎？';
$lang->gitfox->project->notbindedError             = '還沒綁定GitFox用戶，無法修改權限！';

$lang->gitfox->user = new stdclass;
$lang->gitfox->user->id             = "用戶ID";
$lang->gitfox->user->name           = "名稱";
$lang->gitfox->user->username       = "用戶名";
$lang->gitfox->user->email          = "郵箱";
$lang->gitfox->user->password       = "密碼";
$lang->gitfox->user->passwordRepeat = "請重複密碼";
$lang->gitfox->user->projectsLimit  = "限制項目";
$lang->gitfox->user->canCreateGroup = "可創建組";
$lang->gitfox->user->external       = "外部人員";
$lang->gitfox->user->externalTip    = "除非明確授予訪問權限，否則外部用戶無法查看內部或私有項目。另外，外部用戶無法創建項目，群組或個人代碼片段。";
$lang->gitfox->user->bind           = "禪道用戶";
$lang->gitfox->user->avatar         = "頭像";
$lang->gitfox->user->skype          = "Skype";
$lang->gitfox->user->linkedin       = "Linkedin";
$lang->gitfox->user->twitter        = "Twitter";
$lang->gitfox->user->websiteUrl     = "網站地址";
$lang->gitfox->user->note           = "備註";
$lang->gitfox->user->createOn       = "創建於";
$lang->gitfox->user->lastActivity   = "上次活動";
$lang->gitfox->user->create         = "添加GitFox用戶";
$lang->gitfox->user->edit           = "編輯GitFox用戶";
$lang->gitfox->user->emptyError     = "不能為空";
$lang->gitfox->user->passwordError  = "二次密碼不一致！";
$lang->gitfox->user->bindError      = "該用戶已經被綁定！";
$lang->gitfox->user->confirmDelete  = '確認刪除該GitFox用戶嗎？';

$lang->gitfox->group = new stdclass;
$lang->gitfox->group->id                                      = "群組ID";
$lang->gitfox->group->name                                    = "群組名稱";
$lang->gitfox->group->path                                    = "群組URL";
$lang->gitfox->group->pathTip                                 = "更改群組URL可能會有意想不到的副作用。";
$lang->gitfox->group->description                             = "群組描述";
$lang->gitfox->group->avatar                                  = "群組頭像";
$lang->gitfox->group->avatarTip                               = '檔案最大支持200k.';
$lang->gitfox->group->visibility                              = "可見性級別";
$lang->gitfox->group->visibilityList['private']               = "私有(群組及其項目只能由成員查看)";
$lang->gitfox->group->visibilityList['internal']              = "內部(除外部用戶外，任何登錄用戶均可查看該組和任何內部項目)";
$lang->gitfox->group->visibilityList['public']                = "公開(群組和任何公共項目可以在沒有任何身份驗證的情況下查看)";
$lang->gitfox->group->permission                              = '許可';
$lang->gitfox->group->requestAccessEnabledTip                 = "允許用戶請求訪問(如果可見性是公開或內部的)";
$lang->gitfox->group->lfsEnabled                              = '大檔案存儲';
$lang->gitfox->group->lfsEnabledTip                           = "允許該組內的項目使用 Git LFS(可以在每個項目中覆蓋此設置)";
$lang->gitfox->group->projectCreationLevel                    = "創建項目權限";
$lang->gitfox->group->projectCreationLevelList['noone']       = "禁止";
$lang->gitfox->group->projectCreationLevelList['maintainer']  = "維護者";
$lang->gitfox->group->projectCreationLevelList['developer']   = "開發者 + 維護者";
$lang->gitfox->group->subgroupCreationLevel                   = "創建子群組權限";
$lang->gitfox->group->subgroupCreationLevelList['owner']      = "所有者";
$lang->gitfox->group->subgroupCreationLevelList['maintainer'] = "維護者";
$lang->gitfox->group->create                                  = "添加群組";
$lang->gitfox->group->edit                                    = "編輯群組";
$lang->gitfox->group->createOn                                = "創建於";
$lang->gitfox->group->members                                 = "群組成員";
$lang->gitfox->group->confirmDelete                           = '確認刪除該GitFox群組嗎？';
$lang->gitfox->group->emptyError                              = "不能為空";
$lang->gitfox->group->manageMembers                           = '群組成員管理';
$lang->gitfox->group->memberName                              = '賬號';
$lang->gitfox->group->memberAccessLevel                       = '角色權限';
$lang->gitfox->group->memberExpiresAt                         = '過期時間';
$lang->gitfox->group->repeatError                             = "群組成員不能重複添加";

$lang->gitfox->branch = new stdclass();
$lang->gitfox->branch->name                        = '分支名';
$lang->gitfox->branch->from                        = '創建自';
$lang->gitfox->branch->create                      = '創建';
$lang->gitfox->branch->lastCommitter               = '最後提交';
$lang->gitfox->branch->lastCommittedDate           = '最後修改時間';
$lang->gitfox->branch->accessLevel                 = "分支保護列表";
$lang->gitfox->branch->mergeAllowed                = "允許合併到";
$lang->gitfox->branch->pushAllowed                 = "允許推送到";
$lang->gitfox->branch->placeholderSearch           = "請輸入分支名稱";
$lang->gitfox->branch->placeholderSelect           = "請選擇分支";
$lang->gitfox->branch->confirmDelete               = '確定刪除分支保護？';
$lang->gitfox->branch->branchCreationLevelList[40] = "維護者";
$lang->gitfox->branch->branchCreationLevelList[30] = "開發者 + 維護者";
$lang->gitfox->branch->branchCreationLevelList[0]  = "禁止";
$lang->gitfox->branch->emptyPrivNameError          = "分支不能為空";
$lang->gitfox->branch->issetPrivNameError          = "已存在該保護分支";

$lang->gitfox->tag = new stdclass();
$lang->gitfox->tag->name               = '標籤名';
$lang->gitfox->tag->ref                = '創建自';
$lang->gitfox->tag->lastCommitter      = '最後提交';
$lang->gitfox->tag->lastCommittedDate  = '最後修改時間';
$lang->gitfox->tag->placeholderSearch  = "請輸入標籤名稱";
$lang->gitfox->tag->message            = '信息';
$lang->gitfox->tag->emptyNameError     = "標籤名不能為空";
$lang->gitfox->tag->emptyRefError      = "創建自不能為空";
$lang->gitfox->tag->issetNameError     = "已存在該標籤";
$lang->gitfox->tag->confirmDelete      = '確認刪除該GitFox標籤嗎？';
$lang->gitfox->tag->protected          = '受保護';
$lang->gitfox->tag->accessLevel        = '允許創建';
$lang->gitfox->tag->emptyPrivNameError = '標簽不能爲空';
$lang->gitfox->tag->issetPrivNameError = '已存在該保護標簽';

$lang->gitfox->featureBar['binduser']['all']     = $lang->gitfox->all;
$lang->gitfox->featureBar['binduser']['notBind'] = $lang->gitfox->notBind;
$lang->gitfox->featureBar['binduser']['binded']  = $lang->gitfox->binded;
